//
//  PKInfoServices.swift
//  Panku
//
//  Created by mac on 2017/2/16.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit

class PKInfoServices: NSObject {
    class func versionNumber() -> String{
        
        let versionKey = "CFBundleShortVersionString"
        //获得当前软件的版本号
        
        let currentVersion = Bundle.main.infoDictionary?[versionKey]
        return currentVersion as! String
    }
}
